<template>
  <van-list
    v-model:loading="loading"
    :finished="finished"
    finished-text="没有更多了"
    @load="onLoad"
    class="pb-50"
    offset="20"
  >
    <div class="flex p-8 justify-between flex-wrap">
      <job-item v-for="item in jobList" :jdata="item" />
    </div>
  </van-list>
</template>

<script setup lang="ts">
import { useJobList } from "../hooks/index";
const { loading, finished, jobList, onLoad } = useJobList();
</script>

<style scoped></style>
